<?php
/**
 * 此文件是接口的配文件
 * @author Jerry
 * @version 1.0
 */

//定义系统时间
ini_set('date.timezone','Asia/Shanghai');

$sys_conf_var['db']['db_type']     = 'mysql';            //数据库类型
$sys_conf_var['db']['db_host']     = 'localhost';        //数据库地址
$sys_conf_var['db']['db_user']     = 'root';			 //数据库用户
$sys_conf_var['db']['db_password'] = '';			 	 //数据库密码
$sys_conf_var['db']['db_name']     = 'hdkan';		 	 //数据库名
$sys_conf_var['db']['table_pre']   = 'mov_';            //表前缀
$sys_conf_var['db']['db_charset']  = 'utf8';  			 //数据库编码：gb2312,utf8,gbk,big5

//session 过期时间
$sys_conf_var['session']['online_hold'] = 1800;            //session有效时间
$sys_conf_var['session']['save_type'] = 2;            	   //session存放类型 =1 文件，=2 数据库


$sys_conf_var['system']['charset'] = 'utf-8';        		//系统字符集
$sys_conf_var['system']['gzip']    = true;        		    //是否开启gzip压缩输出
$sys_conf_var['system']['error']   = true;        		    //程序发生错误时显示出错信息,false 为不显示
$sys_conf_var['system']['lang']    = 'zh-cn';             //系统语言

//表结构
$sys_conf_var['table']['system']   				= $sys_conf_var['db']['table_pre'] . 'system'; //系统信息存放表
$sys_conf_var['table']['admin']   				= $sys_conf_var['db']['table_pre'] . 'admin'; //管理员存放
$sys_conf_var['table']['system_session']   		= $sys_conf_var['db']['table_pre'] . 'system_session'; //SESSION存放
$sys_conf_var['table']['user']   				= $sys_conf_var['db']['table_pre'] . 'user'; //用户存放
$sys_conf_var['table']['user_login_fail']   	= $sys_conf_var['db']['table_pre'] . 'user_login_fail'; //用户存放
$sys_conf_var['table']['category']   			= $sys_conf_var['db']['table_pre'] . 'category'; //文章分类
$sys_conf_var['table']['article_category']   	= $sys_conf_var['db']['table_pre'] . 'article_category'; //文章分类
$sys_conf_var['table']['article']   			= $sys_conf_var['db']['table_pre'] . 'article'; //文章内容
$sys_conf_var['table']['link']  				= $sys_conf_var['db']['table_pre'] . 'link'; //文章内容
$sys_conf_var['table']['comment']   			= $sys_conf_var['db']['table_pre'] . 'comment'; //评论
$sys_conf_var['table']['ad']  					= $sys_conf_var['db']['table_pre'] . 'ad'; //广告

//影片部分
$sys_conf_var['table']['movie']   				= $sys_conf_var['db']['table_pre'] . 'movie'; //影片
$sys_conf_var['table']['movie_index']   		= $sys_conf_var['db']['table_pre'] . 'movie_index'; //分类索引
$sys_conf_var['table']['special']   			= $sys_conf_var['db']['table_pre'] . 'special'; //专辑
$sys_conf_var['table']['special_index']   		= $sys_conf_var['db']['table_pre'] . 'special_index'; //专辑索引
$sys_conf_var['table']['actor']   				= $sys_conf_var['db']['table_pre'] . 'actor'; //演员表
$sys_conf_var['table']['area']   				= $sys_conf_var['db']['table_pre'] . 'area'; //地区表
$sys_conf_var['table']['language']   			= $sys_conf_var['db']['table_pre'] . 'language'; //语言
$sys_conf_var['table']['server']   				= $sys_conf_var['db']['table_pre'] . 'server'; //服务器
$sys_conf_var['table']['type']   				= $sys_conf_var['db']['table_pre'] . 'type'; //类型
$sys_conf_var['table']['url']   				= $sys_conf_var['db']['table_pre'] . 'url'; //详细地址
		

?>
